Class com.symantec.itools.io.FileSystem
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.symantec.itools.io.FileSystem

Object
   |
   +----com.symantec.itools.io.FileSystem

public class FileSystem
extends Object

Version:
1.0
Author:
Symantec Internet Tools Division
Since:
VCafe 3.0

Variable Index

 o isCaseSensitive

Constructor Index

 o com.symantec.itools.io.FileSystem()

Method Index

 o compareFilenames(String, String)
 o compareFilenames(File, File)
 o copyFile(File, File)
 o getCanonicalPath(String, boolean)
 o getCanonicalPath(String, boolean, boolean)
 o getCanonicalPath(File, boolean)
 o getCanonicalPath(File, boolean, boolean)
 o getCurrentDirectory()
 o getPath(String)
 o getPath(String, boolean)
 o getValidPath(String)
 o getValidPath(String, boolean)
 o isCaseSensitive()
 o isInPath(String, String)
 o lookupCaseSensitive(String[])
 o quote(String)
 o quoteIfNeeded(String)

Variables

 o isCaseSensitive
protected static boolean isCaseSensitive

Since: VCafe 3.0

Constructors

 o FileSystem
protected FileSystem()

Methods

 o compareFilenames
public static boolean compareFilenames(String name1,
                                       String name2)

Parameters:
name1 - TODO
name2 - TODO
Since:
VCafe 3.0
 o compareFilenames
public static boolean compareFilenames(File file1,
                                       File file2)
 o copyFile
public static boolean copyFile(File source,
                               File target) throws IOException
 o getCanonicalPath
public static java.lang.String getCanonicalPath(String fileName,
                                                boolean keepCase)

Parameters:
fileName - TODO
keepCase - TODO
Since:
VCafe 3.0
 o getCanonicalPath
public static java.lang.String getCanonicalPath(String fileName,
                                                boolean keepCase,
                                                boolean isDir)

Parameters:
fileName - TODO
keepCase - TODO
isDir - TODO
Since:
VCafe 3.0
 o getCanonicalPath
public static java.lang.String getCanonicalPath(File file,
                                                boolean keepCase)

Parameters:
file - TODO
keepCase - TODO
Since:
VCafe 3.0
 o getCanonicalPath
public static java.lang.String getCanonicalPath(File file,
                                                boolean keepCase,
                                                boolean isDir)

Parameters:
file - TODO
keepCase - TODO
isDir - TODO
Since:
VCafe 3.0
 o getCurrentDirectory
public static java.lang.String getCurrentDirectory()

Since:
VCafe 3.0
 o getPath
public static java.lang.String[] getPath(String path)

Parameters:
path - TODO
Since:
VCafe 3.0
 o getPath
public static java.lang.String[] getPath(String path,
                                         boolean allowFiles)

Parameters:
path - TODO
allowFiles - TODO
Since:
VCafe 3.0
 o getValidPath
public static java.lang.String[] getValidPath(String path)

Parameters:
path - TODO
Since:
VCafe 3.0
 o getValidPath
public static java.lang.String[] getValidPath(String path,
                                              boolean allowFiles)

Parameters:
path - TODO
allowFiles - TODO
Since:
VCafe 3.0
 o isCaseSensitive
public static boolean isCaseSensitive()

Since:
VCafe 3.0
 o isInPath
public static boolean isInPath(String fileName,
                               String directory)

Parameters:
fileName - TODO
directory - TODO
Since:
VCafe 3.0
 o lookupCaseSensitive
protected static boolean lookupCaseSensitive(String[] list)

Parameters:
list - TODO
Since:
VCafe 3.0
 o quote
public static java.lang.String quote(String fileName)

Parameters:
fileName - TODO
Since:
VCafe 3.0
 o quoteIfNeeded
public static java.lang.String quoteIfNeeded(String fileName)

Parameters:
fileName - TODO
Since:
VCafe 3.0

All Packages  Class Hierarchy  This Package  Previous  Next  Index